﻿@model Web.Models.MatMenuListModel
@{
    var j = 1;
}

@foreach (var item in Model.ViewList) {
    <tr>
        <td>
            @j.ToString()
        </td>
        <td>
            @item.Mat_Menu_Code
        </td>
        <td>
            @item.Mat_Menu_Name
        </td>
        <td>
            @item.Mat_Menu_URL
        </td>
        <td>
            <a href="~/MatMenu/Edit/@item.Mat_Menu_ID" class="btn btn-primary btn-xs" data-toggle="tooltip" data-placement="left" title="编辑"><i class="fa fa-edit"></i></a>
            <button id="@item.Mat_Menu_ID" type="button" class="btn btn-danger btn-xs" data-toggle="tooltip" data-placement="top" title="删除"><i class="fa fa-trash-o "></i></button>
        </td>
    </tr>
    j++;
}
<input id="TotalCount" type="hidden" value="@ViewBag.RecordCount" />
